home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3874 < prev    next >
Encoding:
Text File  |  1996-08-06  |  2.3 KB  |  50 lines

  1. Newsgroups: comp.lang.c++
  2. Path: news3.noc.netcom.net!zdc!zippo!usenet
  3. From: Jim McFarland <jgm6@orkand.em.cdc.gov>
  4. Subject: Re: Moving to C++ (was "no subject")
  5. Content-Type: text/plain; charset=us-ascii
  6. Sender: usenet@news.zippo.com
  7. Content-Transfer-Encoding: 7bit
  8. Nntp-Posting-Host: 158.111.166.77
  9. Organization: The Orkand Corporation
  10. Message-ID: <DLqq4x.2yt@news.zippo.com>
  11. References: <4e5qb8$7f0@server1.ctc.com>
  12. X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
  13. Mime-Version: 1.0
  14. Date: Thu, 25 Jan 1996 14:12:33 GMT
  15.  
  16. "Michael D. Aesoph" <aesoph@ctc.com> wrote:
  17. >Dear Collective:
  18. >
  19. >     I an a C programmer that has recently been tasked to do some 
  20. >programming in C++.  Virtually all of my work involves data acquisition 
  21. >of some kind and I normally use National Instrument's LabWindows/CVI as 
  22. >my programming environment.  In standard programming, things are 
  23. >relatively simple...  Configure data acquisition, acquire data, plot 
  24. >data, analyze data, save data, etc. etc.  Now, in C++, there's all this 
  25. >talk about classes, objects, and other things.  The project manager wants 
  26. >a "sensor" class....  OK, where's the link???  I still have to do all of 
  27. >the tasked mentioned before, but embedded apparently in a class????  
  28. >Please advise..  I know that this is the classic stumbling block for 
  29. >beginning C++ programmers, so don't make fun of me!!!!!
  30. >
  31. >                                     Michael D. Aesoph
  32. >
  33. Start by learning what classes are, i.e. learn about object-oriented 
  34. design and programming.  Once you understand that, then learn how to 
  35. implement classes in C++.  What you are really up against is a change in 
  36. the architecture (design) or your system. How did you "design" your 
  37. system before, functional decomposition?  It sounds like a very 
  38. sequential, task oriented system.  Did you use any abstract data types 
  39. and encapsulation?  The way you designed your software previously (and 
  40. your level of computer science knowledge) will have a big impact on how 
  41. hard it will be for you to move to object-orientation.  The biggest 
  42. stumbling block in moving from C to C++ is a solid understanding of the 
  43. principles and techniques of good design and programming.  With this 
  44. foundation, moving from C to C++ (and from structured to object-oriented 
  45. design) is not as difficult.
  46.  
  47. Jim
  48.  
  49.  
  50.